package com.lsk.util;

import java.util.List;

public class TableName {
    private String name;//表名
    private String foreignKey;  //外检
    private String alias;       //别名
    private List<String> condition;   //搜索字段
    private String primaryKey;  //主键
    private boolean isOnThisCondition;
    public TableName(String name,List<String> condition){
        this.name=name;
        this.condition=condition;
    }
    public TableName(String name, String foreignKey,List<String> condition, String primaryKey) {
        System.out.println(Operator.AND);
        this.name = name;
        this.foreignKey = foreignKey;
        this.alias = UuidUtil.get6UUID();
        this.condition = condition;
        this.primaryKey = primaryKey;
    }
}
